<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>带教老师表</title>

<style type="text/css">

body{background-color: #ddffdd;}
h2{margin-top: 200px;}
th{background-color: #accbbf;}
</style>

</head>
<body>
	<h2 align="center">教师报表</h2>
	<table align="center">
		<tr><th>教师编号</th><th>真实姓名</th><th>年龄</th><th>性别</th><th>家庭住址</th><th>联系电话</th><th>邮箱</th><th>代课名称</th></tr>
		<s:iterator value="#request.list">
			<tr><th><s:property value="teacherId"/></th><th><s:property value="realName"/></th><th><s:property value="age"/></th>
			<th><s:property value="sex"/></th><th><s:property value="address"/></th><th><s:property value="phone"/>
			</th><th><s:property value="email"/></th><th><s:property value="course.name"/></th></tr>
		</s:iterator>
	</table>
</body>
</html>